package cn.com.bluemoon.daps.system.vo;

import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description 菜单树;
 * @Author luolq
 * @Date 2022/12/23 14:48
 * @Vsersion 1.0
 **/
@Data
public class DapSysMenuTreeVo{

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "父ID")
    private Long parentId;

    @ApiModelProperty(value = "菜单名")
    private String name;

    @ApiModelProperty(value = "链接地址")
    private String url;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "是否启用（1：启用，0：未启用）")
    private Integer isUse;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "子菜单树")
    private List<DapSysMenuTreeVo> children = Lists.newArrayList();
}
